package com.pingan.haofang.searchcloud.monitor.dto;

import com.pingan.haofang.searchcloud.common.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * 慢查询条件dto
 *
 * @author ex-liuxianwen001
 * @date 2018/12/4
 * @since 1.0.0
 */
public class SlowQueryDTO {
    /*
     *索引id
     */
    private Long indexId;
    /*
     *项目id
     */
    private Long projectId;

    /*
     *查询开始时间
     */
    private String startDate;
    /*
     *查询结束时间
     */
    private String endDate;
    /*
     *查询时间
     */
    private  String date;


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "SlowQueryDTO{" +
                "indexId=" + indexId +
                ", projectId=" + projectId +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                '}';
    }
}
